package com.gupaoedu.rpc;

import java.io.Serializable;
import java.util.Arrays;

public class RpcRquest implements Serializable {
    private static final long serialVersionUID = 5228080339250067290L;
    String className;

    @Override
    public String toString() {
        return "RpcRquest{" +
                "className='" + className + '\'' +
                ", methodName='" + methodName + '\'' +
                ", args=" + Arrays.toString(args) +
                '}';
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Object[] getArgs() {
        return args;
    }

    public void setArgs(Object[] args) {
        this.args = args;
    }

    String methodName;
    Object[] args;

    public RpcRquest(String className, String methodName, Object[] args) {
        this.className = className;
        this.methodName = methodName;
        this.args = args;
    }
}
